<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    //Object.keys 获取key值
    //Object.values  获取属性值
    //Object.assign   浅拷贝一份对象
      const o = {name:'帅帅',age:18,sex:'nan'}
      console.log(Object.keys(o))
      console.log(Object.values(o))
      let oo ={}
      console.log(Object.assign(oo,o))
      
  </script>
</body>
</html>